package com.liebaut.controller.person;

import com.liebaut.controller.CrudController;
import com.liebaut.dao.person.LanguageRepository;
import com.liebaut.model.person.Language;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/language")
public class LanguageController extends CrudController<Language, Long> {

    public LanguageController() {
    }

    @Autowired
    public LanguageController(LanguageRepository repository) {
        super(repository);
    }
}
